<template>
	<view class="arrival-details">
		<view class="head">
			<swiper class="swiper" :autoplay="true" :interval="3000" :duration="1000">
				<swiper-item>
						<image src="https://kayouyou-1257308601.cos.ap-guangzhou.myqcloud.com/fa595ffe1e8e425794382f90f550f891.jpg" mode="aspectFill"></image>
				</swiper-item>
				<swiper-item>
						<image src="https://kayouyou-1257308601.cos.ap-guangzhou.myqcloud.com/fa595ffe1e8e425794382f90f550f891.jpg" mode="aspectFill"></image>
				</swiper-item>
			</swiper>
		</view>
		<view class="main">
			<view class="main_detail">
				<view class="main_detail_price">
					<text class="main_detail_price_one">￥</text>
					<text class="main_detail_price_two">19.9</text>
					<text class="main_detail_price_three">¥288</text>
				</view>
				<view class="title_box ellipseHide_two">
					<text>日光甜铺工作日单人下午茶惊喜套餐卡布奇诺+冰山面包</text>
				</view>
			</view>
			<view class="main_shop">
				<view class="main_shop_header">
					<view class="h_l">日光甜铺国贸店</view>
					<view class="h_r">适用门店(2)</view>
				</view>
				<view class="main_shop_list">
					<view class="l_li">
						<image src="/static/index/time.png" mode=""></image>
						<text class="l_li_text">周一至周日  10:30-21:30</text>
					</view>
					<view class="l_li">
						<image src="/static/index/address.png" mode=""></image>
						<text class="l_li_text ellipseHide">海口市龙华区126号世贸大厦一楼商铺</text>
						<view class="l_li_copy">
							<image src="/static/my/copy.png" mode="widthFix"></image>
							<text class="copy_word">复制地址</text>
						</view>
					</view>
					<view class="l_li l_li_last">
						<image src="/static/index/tel.png" mode=""></image>
						<text class="l_li_text ">13989568596</text>
						<view class="phone_img" @click="tel">
							<image src="/static/index/paradise/phone.png" mode="widthFix"></image>
						</view>
					</view>
				</view>
			</view>
			<view class="main_time">
				<text class="main_time_l">使用时间</text>
				<text>购买之日起30天内有效</text>
			</view>
			<view class="main_rule">
				<view class="main_rule_title">使用规则</view>
				<view class="main_rule_content">消费券当日有效。零消费门槛，可在领券的平台线上购买年货商品或订购外卖，每张消费券仅限本人单笔交易一次使用，不可兑换现金，不找零。仅适用于收货地为北京地区的订单。</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			tel() {
				uni.makePhoneCall({
					phoneNumber: '', //电话号码
					success: function(e) {
						console.log(e);
					},
					fail: function(e) {
						console.log(e);
					}
				})
			},
		}
	}
</script>

<style scoped>
	page {
		background-color: #F5F7F9;
	}

	view {
		box-sizing: border-box;
	}
	.arrival-details{
		padding-bottom: 90rpx;
	}
	.head .swiper {
		width: 100%;
		height: 520rpx;
	}

	.head image {
		width: 100%;
		height: 100%;
	}
	.main {
		margin: -96rpx 30rpx 0;
		position: relative;
	}
	
	.main_detail {
		width: 100%;
		padding: 28rpx 32rpx 40rpx;
		background-color: #FFFFFF;
		border-radius: 20rpx;
		margin-bottom: 24rpx;
	}
	
	.main_detail_price {
		color: #FF3A3A;
		margin-bottom: 26rpx;
	}
	
	.main_detail_price_one {
		font-size: 44rpx;
	}
	
	.main_detail_price_two {
		font-size: 68rpx;
		font-weight: bold;
		margin-right: 14rpx;
	}
	
	.main_detail_price_three {
		font-size: 28rpx;
		color: #999999;
		text-decoration-line: line-through;
	}
	
	.title_box {
		font-size: 30rpx;
		font-weight: bold;
		color: #222222;
		line-height: 48rpx;
	}
	
	.type_box {
		border: 2rpx solid #FF1616;
		border-radius: 100rpx;
		color: #FF1616;
		padding: 0rpx 14rpx;
		font-size: 24rpx;
		margin-right: 18rpx;
	}
	.main_time {
		width: 100%;
		border-radius: 20rpx;
		background: #FFFFFF;
		display: flex;
		font-size: 30rpx;
		color: #333333;
		padding: 30rpx;
		margin: 24rpx 0;
	}
	
	.main_time_l {
		font-size: 30rpx;
		color: #222222;
		margin-right: 28rpx;
	}
	
	.main_rule {
		width: 100%;
		border-radius: 20rpx;
		background: #FFFFFF;
		padding: 30rpx 30rpx 40rpx;
	}
	
	.main_rule_title {
		font-size: 30rpx;
		color: #222222;
		margin-bottom: 20rpx;
	}
	
	.main_rule_content {
		font-size: 30rpx;
		color: #555555;
		line-height: 50rpx;
		word-break: break-all;
	}
	
	.main_shop{
		width: 100%;
		border-radius: 20rpx;
		background: #FFFFFF;
		display: flex;
		flex-direction: column;
		font-size: 30rpx;
		color: #333333;
		padding: 36rpx 30rpx 30rpx 32rpx;
		margin: 24rpx 0;
	}
	.main_shop_header{
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 24rpx;
	}
	.h_l{
		color: #222222;
		font-size: 30rpx;
		flex: 1;
	}
	.h_r{
		background: #F0F0F0;
		border-radius: 4rpx;
		padding: 2rpx 10rpx;
		margin-left: 20rpx;
		font-size: 24rpx;
		color: #333333;
		
	}
	.item_t_r{
		flex: 1;
		overflow: hidden;
	}
	.l_li{
		display: flex;
		flex-direction: row;
		align-items: center;
		margin-bottom: 10rpx;
	}
	.l_li image{
		width: 30rpx;
		height: 30rpx;
		margin-right: 14rpx;
	}
	.l_li_text{
		font-size: 24rpx;
		color: #9C9EA4;
		flex: 1;
	}
	.l_li_last{
		margin-bottom: 0;
		position: relative;
	}
	.phone_img{
		width: 48rpx;
		height: 48rpx;
		position: absolute;
		right: 0;
		bottom: -16rpx;
	}
	.phone_img image{
		width: 100%;
		height: 100%;
	}
	.l_li_copy{
		color: #1053FF;
		font-size: 26rpx;
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	.l_li_copy image{
		width: 26rpx;
		height: 36rpx;
		margin-right: 10rpx;
		margin-left: 46rpx;
	}
</style>
